import App from "./app";

App();

const e = new EventSource('/esbuild');
e.addEventListener('change', ({data: res}) => {
    const data = JSON.parse(res);

    if(data.updated.includes('/src/index.js')) {
        location.reload();
    }
})